package org.omg.GIOP;

//
// Holder class for : LocateRequestHeader_1_2
//
// @author OpenORB Compiler
//
final public class LocateRequestHeader_1_2Holder implements
		org.omg.CORBA.portable.Streamable {
	//
	// Internal LocateRequestHeader_1_2 value
	//
	public org.omg.GIOP.LocateRequestHeader_1_2 value;

	//
	// Default constructor
	//
	public LocateRequestHeader_1_2Holder() {
	}

	//
	// Constructor with value initialisation
	// @param initial the initial value
	//
	public LocateRequestHeader_1_2Holder(
			org.omg.GIOP.LocateRequestHeader_1_2 initial) {
		value = initial;
	}

	//
	// Read LocateRequestHeader_1_2 from a marshalled stream
	// @param istream the input stream
	//
	public void _read(org.omg.CORBA.portable.InputStream istream) {
		value = LocateRequestHeader_1_2Helper.read(istream);
	}

	//
	// Write LocateRequestHeader_1_2 into a marshalled stream
	// @param ostream the output stream
	//
	public void _write(org.omg.CORBA.portable.OutputStream ostream) {
		LocateRequestHeader_1_2Helper.write(ostream, value);
	}

	//
	// Return the LocateRequestHeader_1_2 TypeCode
	// @return a TypeCode
	//
	public org.omg.CORBA.TypeCode _type() {
		return LocateRequestHeader_1_2Helper.type();
	}

}
